#{extends 'main.html' /}
#{if story?.id}
	#{set title:'编辑故事' /}
#{/if}
#{else}
	#{set title:'创建故事' /}
#{/else}
#{set 'moreStyles'}
     #{stylesheet 'story.css'/}
#{/set}

<div class="content_body_970">
	<div class="story_edit_left">
		<form action="@{stories.save()}" method="post">
			<input type="hidden" name="story.id" value="${story?.id}">
			<div>开始一段新的故事...</div>
			<div>
				<input type="text" name="story.title" id="story.title" value="${story?.title}"/>
			</div>
			<div>
				<textarea rows="5" cols="60" name="story.description" id="story.description">${story?.description}</textarea>
			</div>
			<div><input class="input_button" type="submit" value="提交"/></div>
		</form>
	</div>
	<div class="story_edit_right">
		创建故事提示
	</div>
</div>